<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>WCMS as a service Cloud Computing System</title>
  <!-- include stylesheets -->

	<link rel="stylesheet" href="{{=URL('static','css/reset.css')}}" type="text/css" media="screen" />
	<link rel="stylesheet" href="{{=URL('static','css/style.css')}}" type="text/css" media="screen" />
	<link rel="stylesheet" href="{{=URL('static','css/invalid.css')}}" type="text/css" media="screen" />	
		<!-- Internet Explorer Fixes Stylesheet -->		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="{{=URL('static','css/ie.css')}}" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->

		<!-- jQuery -->
		<script type="text/javascript" src="{{=URL('static','js/jquery-1.3.2.min.js')}}"></script>
		
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="{{=URL('static','js/simpla.jquery.configuration.js')}}"></script>
		<script type="text/javascript" src="{{=URL('static','js/facebox.js')}}"></script>
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="{{=URL('static','js/jquery.wysiwyg.js')}}"></script>
		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->	
	</head>
  
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
		
		  
		
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
				<div id="sidebar-title">Welcome {{= 'auth'in globals() and auth.user.first_name}}</div>
		
        
				<a href ="{{=URL('portal','default','user',args=['logout'],vars={'_next': URL('portal','default','index')})}}">
				 LOGOUT
				</a>

				
			</div>  
			 
			      
			
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="{{=URL('cms','management')}}" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						Profile
					</a>       
				</li>
				<li>
					<a href="{{=URL('cms','management')}}" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						CMS management
					</a>       
				</li>
				
				
			</ul> <!-- End #main-nav -->
			
			<div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
				
				<h3>3 Messages</h3>
			 
				<p>
					<strong>17th May 2009</strong> by Admin<br />
					Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>2nd May 2009</strong> by Jane Doe<br />
					Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>25th April 2009</strong> by Admin<br />
					Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
				
				<form action="" method="post">
				
					<h4>New Message</h4>
					
					<fieldset>
						<textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
					</fieldset>
					
					<fieldset>
					
						<select name="dropdown" class="small-input">
							<option value="option1">Send to...</option>
							<option value="option2">Everyone</option>
							<option value="option3">Admin</option>
							<option value="option4">Jane Doe</option>
						</select>
						
						<input class="button" type="submit" value="Send" />
						
					</fieldset>
					
				</form>
				
			</div> <!-- End #messages -->
			
		</div></div> <!-- End #sidebar -->
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			 {{block center}}
        	{{include}}
        	{{end}}
			
			
			
		
	
			
		</div> <!-- End #main-content -->
				<div class="footer">
    <div class="container-fluid">    
      <div class="span12">
        {{block footer}} <!-- this is default footer -->
        <div class="footer-content">
          <div class="copyright">{{=T('WCMS as a service Cloud Computing System')}} &#169; 2011</div>
          <div style="float: right;">
	    Powered by
            <a href="#">HPCC Cloud Computing team</a>
          </div>
        </div>
        {{end}}	
      </div>
    </div><!-- container-fluid -->
  </div><!-- footer -->
		
	</div></body>
  
</html>
